package com.vlong.town.entity.goods;

import java.io.Serializable;

/**
 * 本地特产信息实体类
 * @author Assassin
 */
public class GoodsInfo implements Serializable {

    /**
     * default SerialVersionUID
     */
    private static final long serialVersionUID = 1L;

    // Fields

    private Long goodsId;// 标识信息-本地特产Id[主键值]
    private Long townId;// 标识信息-村镇Id
    private Integer state;// 状态信息-数据状态[1-正常 | 2-删除]
    private Long goodsTypeId;//本地特产类型Id
    private Integer status;// 状态信息-本地特产状态[1-已发布]
    private Integer type;// 基础信息-产品类型[1-农副产品 | 2-天然食材 | 3-海鲜产品]
    private String title;// 基础信息-本地特产标题
    private String content;// 基础信息-本地特产内容
    private String desc;// 基础信息-本地特产简介
    private String thumbnail;// 基础信息-缩略图
    private String feature;// 基础信息-酒店特征
    private Long createTime;// 时间信息-发布时间
    private Long updateTime;// 时间信息-更新时间
    private String createDate;//时间
    
    private String typeName;

    // Empty Constructor
    public GoodsInfo() {
        super();
    }



    // Property accessors

    public Long getGoodsTypeId() {
		return goodsTypeId;
	}



	public String getTypeName() {
		return typeName;
	}



	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}



	public void setGoodsTypeId(Long goodsTypeId) {
		this.goodsTypeId = goodsTypeId;
	}



	public Long getGoodsId() {
        return goodsId;
    }

    public String getCreateDate() {
		return createDate;
	}

	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

	public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public Long getTownId() {
        return townId;
    }

    public void setTownId(Long townId) {
        this.townId = townId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getThumbnail() {
        return thumbnail;
    }

    public void setThumbnail(String thumbnail) {
        this.thumbnail = thumbnail;
    }

    public String getFeature() {
        return feature;
    }

    public void setFeature(String feature) {
        this.feature = feature;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

	@Override
	public String toString() {
		return "GoodsInfo [goodsId=" + goodsId + ", townId=" + townId + ", state=" + state + ", goodsTypeId="
				+ goodsTypeId + ", status=" + status + ", type=" + type + ", title=" + title + ", content=" + content
				+ ", desc=" + desc + ", thumbnail=" + thumbnail + ", feature=" + feature + ", createTime=" + createTime
				+ ", updateTime=" + updateTime + ", createDate=" + createDate + "]";
	}

}
